|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfurny.furndb.DBLocator
public class DBLocator
Implementation of JME AssetLocator
that is used to load textures of a
model from the database.
Nested Class Summary | |
---|---|
private static class |
DBLocator.AssetInfoDB
AssetInfo implementation to distinguish other assets from database
assets. |
Constructor Summary | |
---|---|
DBLocator()
|
Method Summary | |
---|---|
com.jme3.asset.AssetInfo |
locate(com.jme3.asset.AssetManager manager,
com.jme3.asset.AssetKey key)
|
void |
setRootPath(java.lang.String rootPath)
The database needs no root path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBLocator()
Method Detail |
---|
public void setRootPath(java.lang.String rootPath)
setRootPath
in interface com.jme3.asset.AssetLocator
rootPath
- not requiredpublic com.jme3.asset.AssetInfo locate(com.jme3.asset.AssetManager manager, com.jme3.asset.AssetKey key)
locate
in interface com.jme3.asset.AssetLocator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |